<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<script src="plug-in/tools/popup/userSelect.js"></script>
<script src="plug-in/tools/popup/departSelect.js"></script>
<div class="easyui-layout" fit="true">
	<div region="center" style="padding:0px;border:0px">
		<t:datagrid name="surveyReport"  title="" fitColumns="false" actionUrl="surveyReportController.do?datagrid" idField="id" fit="true" autoLoadData="true" queryMode="group">
			<t:dgCol title="common.id" field="id" hidden="true"></t:dgCol>
			<t:dgCol title="案件流水号" field="reportNo"></t:dgCol>
			
			<t:dgCol title="车牌号" field="queryCarsNo" query="true" hidden="true" ></t:dgCol>
			<t:dgCol title="联系方式" field="queryDriverPhone" query="true" hidden="true" ></t:dgCol>
			<t:dgCol title="驾驶员" field="queryJiaDriName" query="true" hidden="true" ></t:dgCol>
			
			<t:dgCol title="甲方车牌号" field="carsNo"></t:dgCol>
			<t:dgCol title="甲方联系方式" field="driverPhone"></t:dgCol>
			<t:dgCol title="甲方驾驶员" field="jiaDriName"></t:dgCol>
			
			<t:dgCol title="乙方车牌号" field="yiCarNo"></t:dgCol>
			<t:dgCol title="乙方联系方式" field="yiPhone"></t:dgCol>
			<t:dgCol title="乙方驾驶员" field="yiDriName"></t:dgCol>
			
			<t:dgCol title="出险次数" field="dangerTimeCount" query="true" hidden="true" replace="3次_3,4次_4,5次_5,6次_6,7次_7,8次_8,9次_9,10次以上_10"></t:dgCol>
			<t:dgCol title="地市" field="city" query="true" hidden="true" replace="广州_广州,佛山_佛山" ></t:dgCol>
			
			
			<t:dgCol title="服务人员" field="empName"></t:dgCol>
			<t:dgCol title="服务点" field="workSpace"  special="服务点" ></t:dgCol>
			<t:dgCol title="所属交警" field="trafficPolice"></t:dgCol>
			<t:dgCol title="出险地点" showLen="15" field="dangerPlace" replace="广州_广州,佛山_佛山" ></t:dgCol>
			<t:dgCol title="案件状态"  field="caseStatus" replace="已提交_S,注销_C,已完成_F" style="background:#f2dede;color:#a94442;_C,background:#d9edf7;color:#31708f;_S,background:#dff0d8;color:#3c763d;_F"></t:dgCol>
			<t:dgCol title="审核状态" field="checkFlag" replace="新任务_0,处理中_1,已处理_2" style="background:#f2dede;color:#a94442;_0,background:#d9edf7;color:#31708f;_1,background:#dff0d8;color:#3c763d;_2"></t:dgCol>
			<t:dgCol title="流入时间 " field="createTm" formatter="yyyy-MM-dd" hidden="true"></t:dgCol>
			<t:dgCol title="出险时间 " field="dangerTime" formatter="yyyy-MM-dd hh:mm:ss" query="true" queryMode="group"></t:dgCol>
		</t:datagrid>
	</div>
</div>

<script type="text/javascript">
	$(document).ready(function(){
		$("input[name='dangerTime_begin']").attr("class","Wdate").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
		$("input[name='dangerTime_end']").attr("class","Wdate").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
	});
</script>
